﻿using System;
using System.Collections.Generic;

namespace SecureBox.UI.Infrastructure.Model
{
    /// <summary>
    /// Represents a user defined note
    /// </summary>
    public class Record
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Name of record
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Description of Record
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// Template of record
        /// </summary>
        public Template Template { get; set; }

        /// <summary>
        /// Collection of keywords attached to the record
        /// </summary>
        public IEnumerable<Keyword> Keywords { get; set; }

        /// <summary>
        /// Collection of properties attached to the record
        /// </summary>
        public IEnumerable<Property> Properties { get; set; }

        /// <summary>
        /// Creation date
        /// </summary>
        public DateTime CreationDate { get; set; }
    }
}
